package com.ruoyi.ncpsy.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库信息对象 ncpsy_warehouse
 * 
 * @author ruoyi
 * @date 2025-11-13
 */
public class NcpsyWarehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID */
    private Long userId;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /** 仓库面积 */
    @Excel(name = "仓库面积")
    private BigDecimal warehouseArea;

    /** 仓库负责人 */
    @Excel(name = "仓库负责人")
    private String warehouseManager;

    /** 负责人联系电话 */
    @Excel(name = "负责人联系电话")
    private String managerPhone;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓储容量 */
    @Excel(name = "仓储容量")
    private Long storageCapacity;

    /** 创建人 */
    private String creator;

    /** 创建时间 */
    private Date creationTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setWarehouseAddress(String warehouseAddress) 
    {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseAddress() 
    {
        return warehouseAddress;
    }

    public void setWarehouseArea(BigDecimal warehouseArea) 
    {
        this.warehouseArea = warehouseArea;
    }

    public BigDecimal getWarehouseArea() 
    {
        return warehouseArea;
    }

    public void setWarehouseManager(String warehouseManager) 
    {
        this.warehouseManager = warehouseManager;
    }

    public String getWarehouseManager() 
    {
        return warehouseManager;
    }

    public void setManagerPhone(String managerPhone) 
    {
        this.managerPhone = managerPhone;
    }

    public String getManagerPhone() 
    {
        return managerPhone;
    }

    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }

    public void setStorageCapacity(Long storageCapacity) 
    {
        this.storageCapacity = storageCapacity;
    }

    public Long getStorageCapacity() 
    {
        return storageCapacity;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("warehouseAddress", getWarehouseAddress())
            .append("warehouseArea", getWarehouseArea())
            .append("warehouseManager", getWarehouseManager())
            .append("managerPhone", getManagerPhone())
            .append("warehouseName", getWarehouseName())
            .append("storageCapacity", getStorageCapacity())
            .append("creator", getCreator())
            .append("creationTime", getCreationTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
